import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/styles/main.stylus'
import App from './App.vue'
import router from './router'
import store from './store'
import './utils/myFlexible'
import echarts from 'echarts'
Vue.use(ElementUI);

Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
Vue.prototype.$msgbox = ElementUI.MessageBox;
Vue.prototype.$alert = ElementUI.MessageBox.alert;
Vue.prototype.$confirm = ElementUI.MessageBox.confirm;
Vue.prototype.$prompt = ElementUI.MessageBox.prompt;
Vue.prototype.$message = ElementUI.Message;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
